<extend name="Public:base" />

<block name="content">

    <form action="{:U('MoneyDetail/index')}" method="post">
        <div class="table-responsive">
            <table class="table table-striped table-bordered table-hover search-form">
                <thead>
                <tr>
                    <th>
                       <select name="year">
                           <option>年份</option>
                           <option value="2016">2016</option>
                           <option value="2017">2017</option>
                           <option value="2018">2018</option>
                           <option value="2019">2019</option>
                           <option value="2020">2020</option>
                           <option value="2021">2020</option>
                       </select>
                        <select name="month">
                            <option>月份</option>
                            <option value="01">01</option>
                            <option value="02">02</option>
                            <option value="03">03</option>
                            <option value="04">04</option>
                            <option value="05">05</option>
                            <option value="06">06</option>
                            <option value="07">07</option>
                            <option value="08">08</option>
                            <option value="09">09</option>
                            <option value="10">10</option>
                            <option value="11">11</option>
                            <option value="12">12</option>
                        </select>
                        <input class="btn btn-primary radius5 btn-sm" type="submit" value="查询"/>
                        <a class="btn btn-primary radius5 btn-sm" href="{:U('MoneyDetail/excelout')}">导出</a>
                    </th>
                    <!--  <a class="btn btn-primary" href="javascript:;" id="search" url="{:U('Member/index')}">搜索</a>-->
                </tr>
                </thead>
            </table>
        </div>
    </form>

    <div class="table-responsive">
        <table class="table table-striped table-bordered table-hover">

            <thead>
            <tr>
                <th>年月</th>
                <th>维修订单总金额</th>
                <th>师傅佣金总金额</th>
                <th>师傅奖励总金额</th>
                <th>师傅签到总金额</th>
                <th>师傅维修金</th>
                <th>师傅维修保证金</th>
                <th>维修保证金利息总金额</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="ba" key="k">
                <tr>
                    <td>{$ba['sum_date']}</td>
                    <td>{$ba['r_ordertotal']}</td>
                    <td>{$ba['master_total']}</td>
                    <td>{$ba['master_rewards']}</td>
                    <td>{$ba['master_signin']}</td>
                    <td>{$ba['master_repair']}</td>
                    <td>{$ba['master_bond']}</td>
                    <td>{$ba['repair_interest']}</td>
                  </tr>
            </volist>
            <tr>
                <td colspan="20" class="page">{$page}</td>
            </tr>
            </tbody>
        </table>
    </div>
</block>
<block name="css">
</block>
<block name="javascript">
    <script>

    </script>
</block>